<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<% String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCN30" method="POST" action="<%=actionUrl%>"> 
		<div id="ef_tab_y" lastRange="98%" eftabWidth="100%" style="overflow: hidden;border-width:0px;padding:0px">
			<div id="country" title="&nbsp;&nbsp;内部抽查样管理&nbsp;&nbsp;" efRemember="no" >
				<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
				<EF:EFInput blockId="inqu_status" type="hidden" cname="年份" ename="Year" row="0" />
				<EF:EFInput blockId="inqu_status" type="hidden" cname="月份" ename="Month" row="0" />
				<EF:EFInput blockId="inqu_status" type="hidden" cname="抽检内容" ename="Cjnr" row="0" />
					<div class="row-fluid"> 
						<div class="span4">
							<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdYear" cname="年份" etc=" "/>
						</div>
						<div class="span4">
							<EF:EFSelect blockId="inqu_status" row="0" ename="fdMonth" cname="月份">
						      <EF:EFOption label="" value="" />
									<EF:EFOption label="一月" value="一月" />
									<EF:EFOption label="二月" value="二月" />
									<EF:EFOption label="三月" value="三月" />
									<EF:EFOption label="四月" value="四月" />
									<EF:EFOption label="五月" value="五月" />
									<EF:EFOption label="六月" value="六月" />
									<EF:EFOption label="七月" value="七月" />
									<EF:EFOption label="八月" value="八月" />
									<EF:EFOption label="九月" value="九月" />
									<EF:EFOption label="十月" value="十月" />
									<EF:EFOption label="十一月" value="十一月" />
									<EF:EFOption label="十二月" value="十二月" />
					        </EF:EFSelect>
						</div>
					</div>
					<div class="row-fluid"> 
					    <div class="span4">
							<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdCjnr" cname="抽检内容"  etc=" "/>
						</div>
						
					</div>
				</div>
				<div id="ef_region_result" title="记录集" style="overflow: scroll">
					<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 300px;"></div>
				</div>
				<div id="ef_region_detail" title="内部抽查样" style="overflow: scroll">
					<div id="ef_grid_d" title="页面信息" style="overflow: hidden; height: 300px;"></div>
				</div>
			</div>
			<div id="tab1" title="&nbsp;&nbsp;外部抽查样管理&nbsp;&nbsp;" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px">
			</div>
		</div>    
		<EF:EFRegion /> 
		<EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCN30" queryMethod="query" autoDraw="no" readonly="false"   ajax="true" style="operationBar:true">   
			<EF:EFColumn ename="fdKeyId" cname="主键" width="80" visible="false"></EF:EFColumn> 
			<EF:EFColumn ename="fdReportTime" cname="汇报时间" width="80" visible="false"></EF:EFColumn> 
			<EF:EFColumn ename="fdReportPerson" cname="汇报人" width="80" visible="false"></EF:EFColumn> 
			<EF:EFColumn ename="fdReportDepartmentId" cname="汇报部门ID" width="80" visible="false"></EF:EFColumn> 
			<EF:EFColumn ename="fdReportDepartment" cname="汇报部门" width="80" visible="false"></EF:EFColumn> 
			<EF:EFComboColumn ename="fdYear" cname="年份" align="center" width="100"  nullable="false">
				<EF:EFOption label="" value="" />
				<EF:EFOption label="2016" value="2016" />
				<EF:EFOption label="2017" value="2017" />
				<EF:EFOption label="2018" value="2018" />
				<EF:EFOption label="2019" value="2019" />
				<EF:EFOption label="2020" value="2020" />
				<EF:EFOption label="2021" value="2021" />
				<EF:EFOption label="2022" value="2022" />
				<EF:EFOption label="2023" value="2023" />
				<EF:EFOption label="2024" value="2024" />
				<EF:EFOption label="2025" value="2025" />
			</EF:EFComboColumn> 
			<EF:EFComboColumn ename="fdMonth" cname="月份" align="center" width="100" nullable="false" >
				<EF:EFOption label="" value="" />
				<EF:EFOption label="一月" value="一月" />
				<EF:EFOption label="二月" value="二月" />
				<EF:EFOption label="三月" value="三月" />
				<EF:EFOption label="四月" value="四月" />
				<EF:EFOption label="五月" value="五月" />
				<EF:EFOption label="六月" value="六月" />
				<EF:EFOption label="七月" value="七月" />
				<EF:EFOption label="八月" value="八月" />
				<EF:EFOption label="九月" value="九月" />
				<EF:EFOption label="十月" value="十月" />
				<EF:EFOption label="十一月" value="十一月" />
				<EF:EFOption label="十二月" value="十二月" />
			</EF:EFComboColumn>
			<EF:EFComboColumn ename="fdCjnr" cname="抽检内容" blockName="cmes.cn.mineType" labelProperty="display" valueProperty="value" align="center" width="80"></EF:EFComboColumn> 
			<%-- <EF:EFColumn ename="fdCjdw" cname="抽检单位" width="80"></EF:EFColumn> --%>
			<EF:EFComboColumn ename="fdCjdw" cname="抽检单位" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="150"  nullable="false"></EF:EFComboColumn> 
			<EF:EFColumn ename="fdProjectName" cname="抽检煤样类别" align="center" width="80"></EF:EFColumn> 
 		</EF:EFGrid>
        <EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCN31" queryMethod="query" readonly="false" autoDraw="no" ajax="true" style ="operationBar:true;">   
			<EF:EFColumn ename="fdKeyId" cname="主键" width="80" visible="false"></EF:EFColumn>
			<EF:EFComboColumn ename="fdStatus" cname="状态" blockName="cmes.ch.status" enable="false" align="center" width="60" labelProperty="display" valueProperty="value" />
			<%-- <EF:EFColumn ename="fdStatus" cname="状态" align="center" width="80" ></EF:EFColumn> --%>
			<EF:EFColumn ename="fdReportTime" cname="汇报时间" align="center" width="80" editType="date" dateFormat="yyyy-MM-dd"></EF:EFColumn>
			<EF:EFColumn ename="fdReportPerson" cname="汇报人" align="center" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdReportDepartmentId" cname="汇报部门ID" width="80" visible="false"></EF:EFColumn>
<%-- 			<EF:EFComboColumn ename="fdReportDepartment" cname="汇报部门" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="150"></EF:EFComboColumn> --%>
			<EF:EFColumn ename="fdYear" cname="年份" align="center" width="80" enable="false" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdMonth" cname="月份" align="center" width="80" enable="false" visible="false"></EF:EFColumn>
			<EF:EFComboColumn ename="fdBjdw" cname="被检单位" blockName="cmes.ch.partdept" labelProperty="display" valueProperty="value" align="center" width="80" nullable="false"></EF:EFComboColumn>
			<%-- <EF:EFColumn ename="fdBjdw" cname="被检单位" align="center" width="80"></EF:EFColumn> --%>
			<EF:EFComboColumn ename="fdMyNum" cname="煤样编码" blockName="cmes.ch.coalcode" labelProperty="display" valueProperty="value" align="center" width="80"  nullable="false"></EF:EFComboColumn>
			<EF:EFColumn ename="fdDbsl" cname="代表数量" align="center" width="80" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdMyMad" cname="水分Mad(%)" align="center" width="80"></EF:EFColumn>
			<EF:EFColumn ename="fdMyAd" cname="灰分Ad(%)" align="center" width="80"></EF:EFColumn>
			<EF:EFColumn ename="fdMySt" cname="硫分St,d(%)" align="center" width="80"></EF:EFColumn>
			<EF:EFColumn ename="fdMyQgr" cname="发热量Qgr.v.d(MJ/kg)" align="center" width="150"></EF:EFColumn>
			<EF:EFColumn ename="fdCjMad" cname="抽检水分Mad(%)" align="center" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdCjAd" cname="抽检灰分Ad(%)" align="center" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdCjSt" cname="抽检硫分St,d(%)" align="center" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdCjQgr" cname="抽检发热量Qgr.v.d(MJ/kg)" align="center" width="160"></EF:EFColumn>
			<EF:EFColumn ename="fdCzAd" cname="差值灰分Ad(%)" align="center" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdCzSt" cname="差值硫分St,d(%)" align="center" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdCzQgr" cname="差值发热量Qgr.v.d(MJ/kg)" align="center" width="160"></EF:EFColumn>
			<EF:EFColumn ename="fdRemark" cname="备注" align="center" width="80"></EF:EFColumn>
 		</EF:EFGrid>
		<EF:EFTab tabId="y" action="fundiv"/> 
		<script type="text/javascript"> 
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "8px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
			}
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				if (height > oldHeight) {
					$(frame).css("height", 880);
				}
				if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				}
			}
			</script>
	</EF:EFForm> 
</EF:EFBody> 
</html>